from django.shortcuts import render
from django.http import HttpResponse

# Create your views here.

def index(request):
    #return HttpResponse('HELLO,http://127.0.0.1:8000/index/')
    return render(request, 'index/index.html',{'hello': '向html传 http://127.0.0.1:8000/index/'})

def index2(request):
    #return HttpResponse('HELLO,http://127.0.0.1:8000/index/')
    list = ['dfsk','第三方个梵蒂冈','dfs地方' ]
    dict = {'Alice': '2341', 'Beth': '9102', 'Cecil': '3258'}
    return HttpResponse(dict)